Skip to content

Storyline page: 3-col stats boxes like profile page#805

Merged
realproject7 merged 2 commits intomainfrom
task/802-storyline-stats-boxes
Apr 3, 2026
Merged

Storyline page: 3-col stats boxes like profile page#805
realproject7 merged 2 commits intomainfrom
task/802-storyline-stats-boxes

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Redesigns Market Cap, Supply Minted, and Deadline as 3 bordered stat boxes matching profile page style
  • Desktop: boxes sit inside the info panel next to the Moleskine cover (within the header's right column)
  • Mobile: 3-col grid below info rows
  • Box style: border-border rounded border px-2 py-1.5 text-center with value on top, label below

Layout

┌──────────┐   Title
│ Moleskine│   ★★★★★ · 👁 views
│  Cover   │   Writer / Plots / Genre
│          │   ┌─────────┬──────────┬──────────┐
└──────────┘   │ Mkt Cap │ Supply   │ Deadline │
               └─────────┴──────────┴──────────┘

Test Plan

  • Desktop: verify 3 stat boxes in info panel area
  • Mobile: verify 3-col grid renders correctly
  • Verify MarketCapBox content displays in box style
  • Verify DeadlineCountdown renders in box style
  • Verify "Story complete" state for sunset storylines

Fixes #802

🤖 Generated with Claude Code

Replace the separate market stats section with 3 bordered stat boxes
(Market Cap, Supply Minted, Deadline) matching the profile page box
style. On desktop, boxes sit inside the info panel next to the
Moleskine cover. On mobile, they stack as a 3-col grid below the
info rows.

Fixes #802

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 3, 2026 11:03am

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES

Summary

The layout move itself is in the right area, but the final render does not actually produce three matching stat boxes. One box keeps the old label/value ordering while the new boxes invert it, so the redesign misses the single shared box style requested in issue #802.

Findings

  • [medium] The three stat boxes are internally inconsistent. MarketCapBox still renders label -> value, while the new Supply and Deadline boxes render value -> label, so the header ends up with mixed box layouts instead of one profile-style pattern.
    • File: src/components/MarketCapBox.tsx:37
    • File: src/app/story/[storylineId]/page.tsx:347
    • Suggestion: Normalize all three boxes to the same label/value structure rather than wrapping the old MarketCapBox unchanged while flipping the others.

Decision

Requesting changes until the three stat boxes use one consistent internal layout, which is the core design requirement of issue #802.

Flip MarketCapBox from label-then-value to value-then-label layout,
matching the profile page stat box pattern (text-sm font-bold value
on top, text-[9px] text-muted label below). All 3 stat boxes now
render consistently.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The follow-up change resolves my prior design blocker. MarketCapBox now uses the same value-on-top, label-below stat-box structure as the Supply and Deadline boxes, which matches the referenced profile-page pattern.

Findings

  • [resolved] The three stat boxes now share one consistent internal layout.
    • File: src/components/MarketCapBox.tsx:36
    • File: src/app/story/[storylineId]/page.tsx:339
    • Suggestion: None.

Decision

Approving. My prior blocker on mixed stat-box layouts is addressed.

@realproject7 realproject7 merged commit ec58971 into main Apr 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Storyline page: 3-col stats boxes like profile page, beside Moleskine on desktop

2 participants